Issue #2659876 by davidwbarratt: Fixed template_preprocess_media_views_view_media_browser() may try to pass unloaded files to media_browser_build_media_item() if the view is cached.