Tried to use algorithm which is based on original Minecraft's one for moving between dimension. Still no luck though.
Reverted back to previous implementation, without those funky multiple updates.

Added check to ensure teleportation only on server side.
Added workaround code which dismounts player when going through portal, until I figure out how to solve this.