Fix bugs with leave game.