If you check out the option menu you can activate mouse lock, which prevents the mouse from leaving the screen while you’re in game!
I didn’t activate it by default because i think windowed applications that auto grab the mouse are not user friendly