CanvasUtils scheduleZoomToFit may cause a blank screen.
scheduleZoomToFit
disables diagram paints, and later enables painting. The problem is that it never refreshes the canvas, thus the canvas may appear completely blank.
While the problem goes away with any kind of interaction with the diagram, the result is still confusing.