Fix non-standard behaviour for gradient stops