Fixed GameLoop.next handling gameover incorrectly