Fixed floating point bug in RGB to HSV conversion.