Warcraft 3 stops trapping the cursor after one alt-tab

When using dual monitor setup, using this installer Warcraft III: Reforged - Lutris

Whenever I alt tab and come back to wc3 the cursor isn’t “trapped” in the game anymore. Which makes it a bit difficult to play an rts on dual monitors since sometimes you want to move the camera by going to the edge of the display but instead the cursor “leaves” the game to go on the second monitor.

What’s weird is that this only happens after alt-tabbing out of the game, so the first time the game is launched the cursor is correctly trapped…

Any workarounds or wine settings for this? I made no modifications to the launcher above.

Thanks!