Fix the gradient of the swatches.