When setting to a non-string value (i.e. a `CanvasGradient` or `CanvasPattern`) we would accidentally update the fill style instead of the stroke style.