fix highlighting of linear and radial gradients