fix colorTeamNames in firefox