Bug between DrawPath and DrawLine or DrawRect

This code :

Var mPath As New GraphicsPath
mPath.MoveToPoint(50, 50)
mPath.AddLineToPoint(200, 50)
mPath.AddLineToPoint(200, 200)
mPath.AddLineToPoint(50, 200)
mPath.AddLineToPoint(50, 50)
g.DrawPath(mPath)

g.DrawRectangle(50, 50, 150, 150)

g.FontSize = 20
g.DrawText("TEXT", 50, 70)

Var mPath2 As New GraphicsPath
mPath2.MoveToPoint(250, 50)
mPath2.AddLineToPoint(350, 100)
g.DrawPath(mPath2)

g.DrawLine(250, 50, 350, 100)

Draws only one rectangle and one line in a canvas.
But if you print, there is 2 rectangles and 2 lines on macOS (not on Windows) :

Known, unresolved issue: <https://xojo.com/issue/60032>

Thank you Andrea !