Fix brush and pinch stroke for adaptive.