Hey, I have found it!
System Events was unchecked in the Accessibility Privacy settings:
Now also in KM both methods work. I have no clue why and since when it was unchecked. And the weird thing is that all of my other UI scripts were working, and that it affected the “ignoring application responses” only when launched from KM.