Fixed gesture handling on iOS