I'm not sure if there's anything I can do about it firing when the mouse leaves the game (in browser I mean). Thanks for the feedback!