Thanks!
Yeah, I haven't tried full screen mode on Itch. I'll have to play around with that once the voting is done. I made a Windows build just to see what happens and it doesn't have the same problem, so I think it has something to do with the HTML5 canvas not being able to track mouse movements outside of itself (whereas the Windows build can).