hmm i'll try again but i'm pretty sure i've tried the game twice and it werent teleporting...
It might be be because you are moving towards a wall after you teleport, or if you are playing mobile, there are a few glitches like that.
anyways, I hope you can figure it out, because I don't really know what could be happening.