Wait for a real canvas size, then refit once scroller auto-resize settles, so a newly opened diagram is not left in a corner of the previous viewport.
Wait for a real canvas size, then refit once scroller auto-resize settles, so a newly opened diagram is not left in a corner of the previous viewport.