Gap when maximizing windows and stage manager enabled sometimes does not work

Describe the bug
When using the option "Leave gap to the left when snapping windows while Stage Manager is active" this normally leaves a gap on the left with the settings provided below this option. Sometimes (mostly after waking up the MacBook from sleep) this just does not work when using actions like "Maximize window" or "Left half". When using the snap functionality the gap is there.
I also found out that it works almost everytime after the snapping feature has been used.

Device information:

  • Type of Mac: M1 MacBook Pro
  • macOS version: 13.0.1
  • BetterTouchTool version: BetterTouchTool Version: 3.936

CleanShot 2022-11-18 at 08.26.26
As you can see, after using the snapping feature, left half also takes stage manager into account.