improved and generalized the viewbox guessing in svgfix