fix(modal): display zoomed version of diagram correctly

related to CAM-3238