fix crash in Spring.GetVisibleUnits on bad teamID value