Fixed loose of action when pasting a group