Fixes issues with nether-portals above y=127

Fixes an issue, when having scaleFactor set to 1.0, and creating portals above y=127 in Overworld, then you will end up above the bedrock in Nether.