no need to put the xshape in drawpage, only register it in pSharedData

- also avoid crash on document closing

Change-Id: I9a43c3d10528be24bffabab23887646ca2126489