Fixed undo group action