[qtwebkit] Grab mouse event for pan gestures