fix undefined viewbox attribute issue