This looks like a macOS Accessibility bug perhaps with one of macOS’s databases for your account having an issue. Compare TIP: Resolving Big Sur Accessibility, Security, and Other Issues - Tips & Tutorials - Keyboard Maestro Discourse and TIP: Resolving Catalina/Mojave Accessibility/Security Permissions Issues - Tips & Tutorials - Keyboard Maestro Discourse .
I forgot to suggest you reboot after doing the tccutil reset Accessibility reset. You might need to redo the reset and immediately reboot.
(as an aside, this is an example of why many developers, ourselves included, have been urging Apple to take it slow and address their bug backlog rather than introduce new features. WWDC 2021 didn’t announce major underlying macOS changes, which might actually be good in this respect; but it’s hard to tell how much bug fixing happened.)