Fixed division by zero error in rgb>hsv.