svg: fix issue with events on elements with own coordinates