When enabling gizmos my screen borders are flickering, even after isabling the canvas. I use Unity 2022.19.
I found a solution in the forums:
Looks like is enough to go to the Main Camera, then in the CinemachineBrain disable “ShowCamera Frustum”.
I also had to save, close unity and open the project again before the change worked.