Fixed some bugs with media player layout.