Fixed black screen when switching views when video is playing.