That's a weird one, I had similar problems with my previous game when I tried making it work on browsers, this was usually caused by going full screen, but I hadn't run into that issue with this game, I'll have to look into that