Properly emit item argument in pane:before-item-destroyed legacy event