Can't properly control camera when ejected from the player

It worked normally before and when I pressed Eject (F8) during the game I could navigate the level the same way as in editor using WASD + RMB for mouse look. But recently something happened and I can’t do that anymore.

Controls in eject mode became broken:

  1. I can rotate camera with LMB instead of RMB but only in horizontal axis. I can’t rotate it up or down anymore. Instead the camera moves forward or backward on its Y axis.
  2. RMB selects objects instead of rotating the camera.

I use UE 5.5.3 and it worked fine on the same version some time ago. I tried to reinstall the engine and graphic drivers as well with no result.

How to fix it and bring back usual controls?