fixed closing video when paused