If escape doesn't work for you, you can try moving your mouse really fast into the game window. (janky fix, I know) This should put it back on track to identifying your mouse within the game screen. It could also be that the game window is resized, since it breaks when its not in the right size. If this doesn't help, then I'll look deeper into it and try to make a patch!