Fixed bug with persistent team join

Joinging players will now join their team and be teleported correctly.