Revert change in waitForNativeEvent