Fix another possible memory leak
Improve teleport handling and allow unsafe teleport if flying