Fixed color change bug involving the hue value