fixed bug on fullscreen