If there are multiple tooltips, they all report the message "copied" because there is no element selection. This fix resolves the issue.