Polyfill for HTML5 CanvasRenderingContext2D.currentTransform[Inverse]