On the File page it seems that Wikibase attempts to render MediaInfo content, and only fails to because it errors out when there is no mediainfoview js object
You can see that it's happening by editing the code at the line above
It's a bad idea for WikibaseMediaInfo js rendering to depend on the native Wikibase rendering just failing. Would be much cleaner if there was a way to just directly and deliberately disable the Wikibase rendering