When using the new JavaFX based graphical editor, the diagram export is incorrectly cropped or is empty if the editor has been zoomed and the diagram is not at the origin. The transformations for adjusting for zoom and translation are being applied in an incorrect order.