[Mac RhinoCommon] RhinoViewport.Size bug

When I set the RhinoViewport.Size, the RhinoViewport.Size will be double.
For example:

RhinoViewport vp = doc.views.ActiveView.ActiveViewport;
var size = vp.Size; // width = 1000; height = 800;
vp.Size = new Size(400, 300);
var sizeAfter = vp.Size;  //width = 2000; height = 1600;

Another question is when I set the RhinoViewport.Size on Windows Rhino 8 version, the 3dm document would save the viewport’s size, is it normal? It doesn’t happen on Rhino 7.

I can repeat this on mac @Lian , this doesn’t feel intentional setting the size and instead it multiplies it by 2, I also notice the view becomes activate as well

Here is the ticket for it https://mcneel.myjetbrains.com/youtrack/issue/RH-84577/RhinoViewport.Size.Set-doubles-viewport-size-on-Mac