Fix entity teleportation. Fixes #63.