Fix movement and game over condition