[gesturehandler] Added setPreventDefault method.