Added teleport checking.