Focus when launching game from Epic on MacOS

When the game is launched from Epic launcher, it does not have the focus. As a result, I cannot click anywhere in the game and my custom cursor image does not appear.
The game is launched in full screen on a new virtual desktop.
There is no problem on the Windows version.
Is it a problem from Epic launcher or the settings of my game, or a problem with how macOS handle apps ? I could not find a clue about this kind of issue.
Thanks for your help.