fix render graph loop