fixes viewBoxRatio undefined error introduced in d05e474
Merge pull request #113 from nkabrich/master

fixes viewBoxRatio undefined error introduced in d05e474