Fixed #44 (teleportation event infinitely called).