Quick hack/fix for undo-ability with setSvgString()

See https://code.google.com/p/svg-edit/issues/detail?id=1138