Fixed auto-opening first diagram in project