After about 130km up, like the subject suggests it doesn't wrap around and then the space sensor freezes at 1 or -1 for both the x and z sensor. And of course below 130km the world wraps around in space, but still buggy when going max horizontal speed.
If you need the save of the world here is the link: https://drive.google.com/file/d/15NyAMC2cBn-Xt_9kR1v6YyWH3NBj19iF/view?usp=drive_link Also you won't need the link because if you take a rocket up into space and pass 130km you can see the issue for yourself in any new world. Please respond if you need anything else and please make sure to respond to anything that I sent that you may have needed. Thank you.