Improved the getMediaPreviewSize mechanism so it's triggered sooner in the loading process