[gesturehandler] Added preventDefault method.