Fix redirect at end of game