FullScreen fixed

After disabling fullScreen mode, the resolution is set to the one before
enabling it