fixed issue about reset event occur twice.

https://jira.appcelerator.org/browse/TC-2635