Hacks the CanvasRenderingContext2D to allow you to get the transformation matrix plus other hacks