fixes for CLinearColorGradientTable