Color:hue() fix (negative output values in some cases)