This is happening since UE 4.23, before that it was normal. My pc is on the minimun requierements to run the engine, as I am developing games since 2017 with this computer. This happens when I select an objet and go near it in the viewport.
if you have an AMD graphics card, right click on the desktop and select “AMD graphics” or something like that (I changed my pc to a NVIDIA 1660 super so I dont have the problem anymore). There, go to “alternable graphics” or something like that and set ue4editor.exe to global