[BUGFIX beta] indexOf eventlistener performance bug

Fixes #3917