Window title bars missing, can't move windows, and lxpanel bugged with external display

I am using this CM4 OS Bookworm image on my uConsole: Release CPi CM4 OS Bookworm · Snoozer-94/uConsole-CM4-OS · GitHub

If I plug in an external display, window title bars immediately disappear, I can’t move or close windows anymore because of that. Any time something that was over the taskbar closes, whatever part of that program that was overlapping with the taskbar is still there. If I unplug the external display and reboot, the problem is gone. Does anyone know how I can fix this issue?

Update: It doesn’t happen with a lower resolution display. I tried a 1080p monitor I had and didn’t have the issue. The original monitor is 1440p. Still would like to know what the problem is.

you could try another distro, there are a half dozen floating around the forum.