Fix for off canvas on iOS