OM-64: need to reset refreshed-queued earlier

We need to set the refresh-queued flag sooner so that app state and
component state updated during render pass will trigger another render