Use 0.0 instead of NAN for special case DegenGeom value.
Fix error in Cone custom component.