fixes #13296 Dropdown disappears with right-click on Firefox

check if rightclick in firefox 
fixes #13296