Updated elWidth and elHeight to approximate more accurate SVG dimensions on Firefox, albeit in a hacky way.