Correct height calculation of SVG

Wasn’t doing it right the first time.