Fixed PlanarFigure
Detected by PlanarFigureIOTest, Geometry2D was not saved because no smartpointer was used