Here is a screenshot of my rhino, then the results of ViewCaptureToFile : the first at the viewport resolution, the second at twice the resolution.
Rhino 8.0.23171.14305, 2023-06-20 under Windows 10
Yes it is a bug!
This has been happening for me as well.