Fixes mobile menu space flashing