[Ref #5851] Fix firefox issue of the panel hidden when clicking on zeroclipboard element outside the panel.