Refacto of on_render's calls from open_loop