small fix for hue value in ImagePainter