fix ref event handlers in case the ref component changed during parent renders
Merge branch 'master' of github.com:jhudson8/react-events