Don't mutate listeners during callbacks. Closes troopjs/troopjs-core#97