The Bug:
The world border stops rendering at high elevations when the render distance and cloud distance options are set to low values.
Steps to Reproduce:
In the "Video Settings..." menu, set the "Render Distance" and "Cloud Distance" options to "2 Chunks".
Switch to creative mode and start flying.
Shrink the world border so that its edge is right next to you by using the commands provided below.
/worldborder center ~-15 ~/worldborder set 32Teleport high up by using the command provided below.
/tp @s ~ 256 ~Observe if the world border is still fully rendered.
Observed Behavior:
The world border isn't rendered above a certain height level.
Expected Behavior:
The world border would be rendered at every height regardless of your video settings.