addressed video playback not stopping when window hidden