Color transform polyfill, and some gradient fixes.