How can I fix this? My monitors are set up to work as follows: on the first one I play some random game, on the second I have Discord, my Twitch stream and Afterburner open.
The problem is that in some games I can barely control the aim. The mouse cursor goes to the second screen, when it should be locked only on the first one.
What would be the solution to this problem?