svg: rewrite class attribute util methods, so that events are fired correctly