small issue with starting full screen

the built game opens a game window (windowed), then goes full screen or is trying to go full screen.
Sometimes I have to click with the mouse in the game window that it goes full screen.
How to fix this?