Spectacle problem dual monitor

When using two monitors and trying to take a screenshot, this problem occurs, the screen area is simply torn, while the graphics are in their places, if you try to select the area that has shifted to capture the image, a completely different area is selected.
When using one monitor, there is no such problem.

Ubuntu 24.04 / X11 / Spectacle 23.08.5