Fix delegateEvents + behavior bug