fixed line rendering for spheres.