Fix crash when teleporting near unknown node