fixed continuous pan not working sometimes in fullscreen.