Yeah, my display is 1920 x 1080. It also happens when I'm not in fullscreen mode, though. Maybe something about global versus local mouse position? Or how the offset is calculated?
Yes that was the problem, thank you so much!