Fix swipe action with target element: #3647