MIDI Remote in Cubase 12 + MiniLab 3 does not work when user template is chosen

I have set up MIDI Remote in Cubase 12 using the provided scripts (from this page: https://support.arturia.com/hc/en-us/articles/6283884020508-MiniLab-3-DAW-Integration).

When I am in Arturia or DAW mode, the transport panel works (when I press the Shift button, I can stop, play, record, etc. from the MiniLab 3 itself).

However, I have set up a user template with custom CC controls, and when I am on a user template, pressing Shift and transport buttons does not work.

How to fix it? Thanks!