Separated refreshAndContinueRender in 2 separate functions: 1 that re-build the DAG and another one that doesn't.