Fixes the menu opening in firefox at mobile size