Complete fix to teleportation of despawned NPCs.