Fixed an issue with media file resolution