what you call buggy is actually the server stopping you from actually teleporting. The issue is the server checking and pushing you back if you go more then 4-5 so this isn't actually possible at all. Even if you remove the opcode that pushes you back to your original location the server side position of your character is still at the same spot.