RAFify render loop