Fixed bug with multiple eventlistners triggered on one event.