App specific keyboard shortcuts stop working

For a while it seemed to be fixed, but recently it started forgetting what the current app is. Maybe Covid made it senile. :frowning:
It can be quite extremely annoying. Can we help anything to debug it?

Edit: I have (had…) a global shortcut having "Prevent recursive triggers" on (trying to work around a sh*tty key sending multiple keypresses on my keyboard). Turning it off seems to prevent the buggy BTT behaviour.