Fixed a bug with stroke gradients