Fix bug where CAN, SUB, and ESC did not cancel a CSI. Issue 3293.