Offcanvas: Fix safari issue