fix gesture bugs in PYResponder