fix more bug with Gesture.