fixed shape undo crash