fixed issue with Diagram size when being shaded after expanded or resized.