#6 (FigureCreateCommand::undo - set properties panel with canvasProps.) After undo: TypeError: Cannot read property 'primitives' of null