Copy of app-specific floating menu image is created on top of the real menu when BTT configuration window is opened?

BTT: Version: 5.170 (2025020214)
MacOS: Version 15.3 (24D60)
MacBook Pro M3 max 36GB

When I moved an app window (A) or clicked from one app (A) to another app (B) and back again, sometimes I could see an image copy of the original app's floating menu A just overlaying on top of another identical menu A or right next to A. I could not get rid of this image even if I right-clicked on it and triggered "Close menu". In fact, "Close menu" would close the real floating menu but not the identical image of it. The only way is to reboot BTT.

This has been happening in the previous few updates, but now it happens regularly.

Thanks in advance.

Note:
Before bug reporting, please make sure you have tried the latest (alpha) version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.


Describe the bug
A clear and concise description of what the bug is. Any bug reports that contain insults against me or my software will be deleted without warning (unfortunately this has become necessary to mention here).


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


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


Device information:

  • Type of Mac:
  • macOS version:
  • BetterTouchTool version: (please post the exact version - not just "the latest one")

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

More info after further investigations:

(1) Correction: I reverted all the way to version 5.148, the duplication of menu images still happened.

(2) The replication of the floating menu’s image always occurred whenever I opened the BTT configuration window.

To reproduce the issue, let’s say I’m using Excel’s floating menu. I open it, click on BTT’s configuration, and then click back to Excel. I move the Excel workbook slightly to a different position. Now, I see two menus. One is the actual floating menu that moves with Excel (the menu is set to be attached to the centre-right edge of Excel). However, the exact image of the floating menu doesn’t move. That’s how I discovered the issue.

After the V5.195 Alpha update, the issue no longer occurs.