Ipad: Fix off-canvas close when click on gray area