Fixed a few bugs around the media not displaying and running properly