Fix broken `this` reference in afterCut handler.