Fix OSX division-by-zero in ViewBox