Meta-balls would access freed memory on undo. This fixes the bug and stores the active-meta in the undo state.