to render image file to be fit to the diagram size
expand clip size by box-shadow