VTK 9 broken lines

Recently upgrade to VTK 9.3 from VTK 8.2. Found a strange issue on rendering lines. When zoom out too much the line will “disconnect” and almost looks like dotted line.
image
In vtk 8.2, no matter how much I zoom out it will always be normal.
image

A slice of an stl object looks strange as well.
image
Zoomed in a bit more:
image

In rare cases, it will show very fainted lines:
image

Found two very similar issues: Markups Line discontinuities - Support - 3D Slicer Community Upgrade vtk.js, Line rendering is inconsistent · Issue #2386 · Kitware/vtk-js · GitHub
Not sure what’s the solution here.

Perhaps try to turn on multisample anti-aliasing? I think it is discussed here.

Thanks! Using renderWindow->SetMultiSamples(X); actually fixed this issue.

However, I still think this is a potential bug, might be related to the pixel count. Even without anti-aliasing, there should not be any disconnection in the object outlines.