Fix an issue with mobile dropdown menus