Fixed rerender().

It is guaranteed that a rendering will happen (maybe sometime in
the future) using the state at the moment rerender() called.