Code

fix crash caused by a gradient without a zero-offset stop