Added a check for fullscreen on startup