Fix outline offset of the shapes that are created by the markup widget
The generated SVG text is created for origin (0,0), but, when
refilling an existing shape, we should put it relative to this
extra shape. Obviously, the global context matrix should be initialized
with the transformation of this particular shape.