Fixed an offset problem with spheres.