Fix crash when trying to edit color ramp with black start/end colors