Now using getBBox method to calculate bounds of board svg, and thus the svg's viewbox