Fix missing transfer of state in componentWillMount.