Fix for letting Gradients through ColorFactory