Replace
ShowEntity spherewith this line
If sv Then ShowEntity spherejust before the last renderworld to hide the sphere.
ShowEntity spherewith this line
If sv Then ShowEntity spherejust before the last renderworld to hide the sphere.