Fix for #246

Firefox in windows was calculating based on the visible svg elements,
rather than on the space that the svg could expand into. Adjusted
appropriately.