Editor perspective view keeps pointing down to ground then spins even in brand new project worked fine last night before I logged off

Even when opening a fresh project my camera automatically moves to face down and starts to spin If i Use right mouse button to move it back up it just goes back to that position.

I cant seem to work out what is causing it. I tried running launcher as admin also verify files, I have ran a mouse and keyboard tester but even unplugged it still does it. Everything was working great when I logged off last night but today I get this.

I am kind of stumped anyone got any ideas?

After uninstalling/reinstalling launcher and engine it still done same thing.
I resolved it by changing default viewport to cinematic viewport then back again and I no longer have this issue

This seems to only be a temporary fix as it starts to do it randomly I can however stop it again by doing the same as above. Does anyone know of a permanent fix?