fix team assignment if player spectates