Mouse constraints

I have noticed my mouse has a tendency to not stay locked to the game window when playing Battle.net games through Lutris. Sometimes the mouse stays confined to the window, but it’s about 50-50 whether it will. I do use 2 monitors, so I suspect that’s the issue, but the fact it’s not reliable. It’s mainly a problem with Starcraft 2 or HotS. I tried to look through the Wine settings, but I have no idea what I would even be looking for…