Fix end of game replay handling