Fix for offcanvas toggles on mobile.