Fix resolution of diagram