fixed video player from stopping when pressing Esc key