Fixed exception when game is won.