Avoid resuing values in linear gradient