Fixes the canvas being dragged sometimes when you shoot while moving your mouse
Recently I was experiencing this issue on Firefox where sometimes when I was firing and moving my mouse, the canvas on which the game is drawn on could be dragged.
So I created this little script to prevent it from happening.