handle state when no viewbox on svg