In that case you're possibly experiencing an already-known issue with Pre-Ventura and KM 11.
One user has described it here:
When I discovered the issue in my previously-OK macros (I'm on Catalina too) one workaround was to perform an activate similar to what you've done.
Peter (@peternlewis) has indicated this issue is fixed for the next version. In the meantime, you can reinstall KM 10.2 until the fix has been made available.