Main Menu flickers on Unreal Engine

I had the same issue with flickering menus/editor in UE5 on Windows 10 and RTX3060, nvidia drivers up-to-date version 512.59 (both Game Ready and Studio versions). What seems to have fixed it for me was to go in Windows’ Control Panel and switch on Hardware-accelerated GPU scheduling (Control Panel->Display->Graphics Settings).