[BUGFIX] Fixes wrong unbinding of event