Fix Element::IsAttachedToDom() when used with SVG for IEDriver

Signed-off-by: Jim Evans <james.h.evans.jr@gmail.com>