Fixes a bug where the EventListener would subscribe to the same event more than necessary, causing way more notifications than needed.