Fix resetGame logic