Render loop ipv event-based rendering