Prevent teleporting to spawn when hitting bedrock
Check worlds before comparing distance