Correctly setting hue on units