Fixed bug with teleportation and level bounds