It’s a known issue for a lot of projects (at least my projects) that you have to click on the game after going fullscreen to make it active again.