Seamless Portals

I think I have discovered a HUGE flaw in your teleportation logic. Shouldn’t the final rotation (after teleportation) be rotated 180 degrees? It’s kind of hard to explain with words so I made a crappy picture in Paint to demonstrate what I mean: https://i.imgur.com/UQtjz5z.png

The red direction is what I am getting when I teleport but the orange direction should be the correct direction… right? Something is wrong here…