handle the case where findPointerIndex does not find a valid index

There are cases where findPointerIndex does not find a valid index in the onInterceptTouchEvent method.