Fix bug where an onClick handler wouldn't fire since the pushState and setState calls would interrupt React's synthetic event listener process.