Using Skia PDFWriter with a Raster DPI setting other than 72 results in wrong document dimensions

For example DIN A4 with 96 DPI:
The dimensions should be 210mm x 297mm but are 280,2 mm x 396,1 mm.

Tested with 5.2.

HowTo Export PDF.vl (53.8 KB)

(I copied and pasted the PDFWriter into a new process node to be able to poke around and change things inside).