Though I might be late...lol
Are you playing this on browser? That may be the gamepage scrolling down when you hit space bar, try clicking on the game (in the game window) once and hit the space bar again?