I tried with the demo but the window.leaveFullscreen is nota function error keeps popping when i open the game