I am still encountering the same issue (MBP M1pro 2022, MacOS 12.6).
However, the "killall Dock" in Terminal solved the problem temporarily (and I do not have to restart). I hope this is a software issue. The new OS should give us insights soon, hopefully...