Selective event handling for SVG overlay demo