Fixed Firefox mega menu middle mouse button issue (#1893)