Anti-aliasing broken since version 5.3.5

Anti-aliasing is broken since version 5.3.5 and persists in OpenGL rendering is disabled, the issue is the same regardless of Use anti-aliasing and Use hardware acceleration checkboxes are checked or not.

Windows 7 64-bit, Intel HD 3000 GPU.

None of previous versions had the issue. I would attach screenshots but it is not allowed.

The issue is also present in 5.4.1 version.