Fixed the size of the media in the preview modal for mobile devices