Double clicking titlebar again sometimes fails to restore the precise location

Describe the bug
Double clicking titlebar again sometimes fails to restore the precise location. Instead, a large part of the window may be pushed outside of the screen.

Device information:

  • Type of Mac: 16inch MBP
  • macOS version: 10.15.6
  • BetterTouchTool version: 1.9.3