Modified extension method to include all SVG.Container elements