Fix gesture recognition on view after last item was removed