Sadly, I have little to no experience with programming.
Sorry about that.
Whatever lkolbly did, nothing personal. It made it worse. Before the change you could at least rely on spawning at the same spot you'd spawn before that. With this current implementation, every Portal I make will soon stand in a crater, because I keep spawning under the earth. It's really... reaaaally bad. Also, the portal on the other world already sees me standing inside of it, and because the worlds don't load fast enough, I trigger an infinite loop of gates shoving me back and forth, until the mechanism breaks and the portals cease to function entirely, or I jump and press forward so that I step outside of the portal I can't even see yet.
Like I said. It is bad. I don't mean to say that this wasn't work, or that it wasn't appreciated, but I would ask .. please, undo these changes. Please.
Everybody is invited to try ... my server is at jammet.duckdns.org ... most of you are on the whitelist already.
[13:08:30] MCServer Jenkins gcc armhf Release (master) build id: #65
[13:08:30] from commit id: 106e06617afea6e07e99c7674b2d10ece96b1344 built at: Sat 4 Jul 15:43:44 CEST 2015
It happens in any direction of travel; from or to the nether. Many times it just looks like you're trying to leave a place, only to enter the same place, but only a fraction of it loaded, because the other portal sent you back before you even saw where you originally wanted to go. But really, all server versions after the portal scanner update had this problem.