Fixes bug with shouldComponentUpdate mixin