I’ve found a similar issue though a little different. In my case the viewport shrinks and offsets as if it were pushed by a glitch.
It happens to me from 5.3 and with some few projects
I’m pretty sure in my case it is a bug, because it happens from 5.3 and I have enough fps