Fixed SVG active/inactive trigger bug