fixes #13296 Dropdown disappears with right-click on Firefox