fix MSC when hue is close to the corner of RGB cube