Fix teleport serialization