Found a fix for the event listener stuff!