@nocturnalYL
I tested this, and it can be replicated. The issue here is that when rendering at low resolution, the image is positioned at sub-pixel positions and the margin can be clipped.
In this case there is no other way than using higher resolution rendering.