XCONTRIB-211: Diagrams are not displayed in view mode