Fixed a bug on fullscreen