Fixed GUI freeze when getting teams