Fixed gradient colour stop order

Fixed bug with order of colour stops for linear gradients