Fix regression bug with teleportable infinity elements