fix dropdownMenu toggle glitch in firefox