prevent propagation of events on links (fixes #81)