Polyfill gradient setTransform and fix bug where the setTransform function was being overwritten before it was checked.
Comment out invalid usage of clip.