Adds event listener in React component to disable simulation controls
after user has been disconnected. Fixes other glitches.