"Maximize"/"Restore Windows Size" always on active window

Describe the bug
I just started using BTT today and already like it a ton! But I noticed an unexpected behavior:
I have configured a trigger “Leftclick Green Window Button”, to have windows maximized instead of fullscreen. I noticed that when doing that using a custom move/resize action I am able to select the “Window Under Cursor” and then it works perfectly as intended. However, using the action “Maximize Window” will always maximize the currently active window, no matter whether the button is clicked on that one or another (inactive) window. I am sure that this behavior is perfectly fine for any trigger that is not a window button, but for this use case it’s kind of unexpected. Maybe the window to be maximized could be selectable for “maximize window” too?

BTW same applies for “Restore Old Window Size”.

Device information:

  • Type of Mac: MacBook Air M1 13”
  • macOS version: Tahoe
  • BetterTouchTool version: 5.750

Additional information (e.g. crash logs, related issues, etc.): -