fix resizing for non-optimized svgs