Fixes events#off method