Diagram rendering issues