Fix: dispatch the event from listener loop overflows the array length when a listener is removed on dispatch.
Fix: dispatch the event from listener loop overflows the array length when a listener is removed on dispatch.

modified:   enchant.js

wise9/enchant.js,wendelas/enchant.js,li0t/enchant.js,TukekeSoft/enchant.js,wise9/enchant.js,shellkana/enchant.js,Gunbard/enchant.js,shellkana/enchant.js,wendelas/enchant.js,li0t/enchant.js,TukekeSoft/enchant.js,Gunbard/enchant.js