Fixed an error which caused spheres to be created with more triangles than necessary.