Floating panel in dual monitors thickens on the wrong screen when maximizing windows

I have a dual-monitor setup with floating panels, and lately, when I maximize a window, the panel on the opposite screen gets thicker, leaving a floating panel on the screen with the maximized window. Is there a fix I can try?

Plasma 5.27.6
openSUSE Tumbleweed 20230724
X11

Generally there is no quick fix for software bugs; please submit a bug report on https://bugs.kde.org. Thanks!