Fixed issues with quitting a team game