Fix issue that error return from function onTouchBegan