SVG Scripting and Interactivity: parsing pointer-events with invalid values