Fullscreen event error

Fixed an error where the fullscreenExited event didn't trigger when
pressing ESC.