Fixed an issue where the media was still getting loaded twice.