Fix strange menu bug with teams