fixed issue when run_per_frame is off in prescence of dependencies and frame-by-frame evaluation (endRender gets actually called for each frame)