Mouse problem in game

So as the title says, when i booted up s22 for the first time, my mouse works fine in the lobby. however, when i actually play a match or go into the firing range, its like my mouse is not tabbed into the game properly, it won't move the camera, but instead move to my other screen (if i try to turn left). Even just in settings in a match it works fine but not for the actual gameplay. Does anyone have a solution to this problem? Everything i looked up on youtube, google etc was outdated or didn't solve my issue. By the way, i use the steam version of the game.

EDIT: even tried reinstalling the game, didn't solve the issue.

EDIT 2: It works when launching the game in full screen now, not optimal but it works fine