fixed a bug preventing the game from beeing reset after having ended and started again.