Fix small bugs
Fix small bugs

By pushing the object on restore instead of save, we avoid pushing
incomplete objects.

Also, we must draw the bounding box adding only half the line width,
because the line is centered around the figure.

boppreh/canvasengine