[composer] Keep relative position of items when pasting (fix #8598)
[composer] Fix item selection after pasting items