It was a bug to call this function outside of sact_Update, because it set scene_is_dirty to false without first rendering the scene. This can cause the scene to not be rendered in a timely manner.