Nice game but on browser sometimes the mouse is getting out of focus.
To fix this: just press tab to bring up the menu.