Move and Resize Window gets stuck with certain applications

Describe the bug

When using the Move Window shortcut (modifiers set to Ctrl, Opt, Cmd) and Resize Windows (Ctrl, Opt) certain applications will be stuck in a move or resizing state after releasing the modifier keys.

Unity (https://unity.com/) is a consistent reproduce-able case.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):

MacBook trackpad, MacBook mouse.

Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)

Device information:

  • Type of Mac: MacBook Pro (16-inch, 2021)
  • macOS version: 12.4 (21F79)
  • BetterTouchTool version: BetterSnapTool 1.9.5