tdf#116018 close shape group correctly
tdf#116018 close shape group correctly

Regression since commit bbe7f806b95ef427153ba18bff80e674b1704ae5 .

Change-Id: Ib6d3f58373c7cb0e1ba7a7a720187cc68d9bc7b1

LibreOffice/libmspub,LibreOffice/libmspub,LibreOffice/libmspub