restore window error on 2 monitors

using 2 displays arranged as shown with application window (magenta rectangle) positioned in lower right corner of LG UltraFine 27-inch (top monitor in screenshot).

Touchbar action maximize magenta window right works as expected.

Touchbar restore old window size re-positions the magenta window with top edge properly located but window "leaks" onto MacBook display with left portion of window displayed on MacBook and residual portion of window missing at right (dotted rectangle in screenshot)

  • Type of Mac: 2019 13" MacBook Pro
  • macOS version: Mojave 10.14.5
  • BetterTouchTool version: 3.132
  • LG UltraFine Display 27-inch (5120 x 2880)