Fixed an issue with refraction intersections with spheres