Use toSVGMarkerElement() instead of static_cast<>