fix ie bug when an SVGElement is provided as selector