Recording CC in MIDI track: strange behaviour using push buttons

Need some advice with this:

I want to control and record the movements in a fx insert. This is what I did:

A fx insert (in this case Audio Damage CIRCA) is mounted in a group slot. Part of the controls (like output volume) can be setup with MIDI Remote / Quick Control. That works just fine.

But there are also modulations within the CIRCA (like start/stop) which can be setup with MIDI learn in the fx itself. These modulations are not visible in Quick Control. So I use a MIDI track for the connection between CIRCA and the MIDI controller. (in= all MIDI Inputs, or just the MIDI controller I use, out= Sidechain, CIRCA). That also works fine.

Now lets make a recording. I activate READ/WRITE of the fx insert and press RECORD. In the Group track with the fx inserted automation is recorded. Wonderful!
The MIDI track is recording CC messages at the same time. Perfect!

Here is the thing: when I press a pushbutton “on” on my controller this action is recorded in the controller lane of the MIDI track as value 127. That makes sense: off=0 on=127. Lets say I press my pushbutton “off” after 5 seconds, than it takes 5 seconds to go from value 127 to 0, like a fade out. This results in strange behaviour in the fx when playback the recording.

There is a workaround to bypass this behavour by using NOTE messages instead of CC messages (NOTE is “on” or “off”, there is nothing between). At least it is something, but I’m still wondering if there is a way to bypass this “fading” behaviour in the controller lane of the MIDI track. The benefit of CC messages is they can be converted to automation lanes and notes can’t (I think).

Anyone with a suggestion?

I’m on Cubase 13