Fixed bug with the mouse leaving the game window
Some notes about headless