Minimize window under cursor does not work with some apps

Describe the bug
The action to minimize a windows under cursor does not work with some apps. I have experienced this for example with KeePass XC and Microsoft Outlook.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Tiggered by mouse gestures as well as keyboard shortcuts.

Screenshots
n/a

Device information:

  • Type of Mac: Macbook Air M1
  • macOS version: 12.3.1
  • BetterTouchTool version: 3.756 (1897)