Auto fit page not enclosing all shapes

I am saving my visio diagram as follows:

public void saveVisioFile(Diagram visioDiagram, String fileLocation) throws Exception {
VisioDebugUtils.dumpDiagramInfo(visioDiagram);
DiagramSaveOptions options = new DiagramSaveOptions(SaveFileFormat.VSDX);
// set Auto fit page property
options.setAutoFitPageToDrawingContent(true);
options.setSaveFormat(SaveFileFormat.VSDX);
visioDiagram.save(fileLocation, options);
}

What I see when I open it is this:
diagram.zip (189.5 KB)

As you can see the bottom objects are not on the page (although it has changed size from a save without the auto fit option).

@Thinian

The file that you shared, is it source/input or output?

That is the output file.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DIAGRAMJAVA-51077

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as DIAGRAMJAVA-51077) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou