fix remove self in Widget touch callback issue
minor modification of tests
Merge pull request #7567 from andyque/fixWidgetCallbackDeleteSelf

fix remove self in Widget touch callback issue