Fix SVG bound calculation for tooltips in Firefox