Updated render function to match latest ork_renderer commit bfcdbc2c74b21ac07b20c953f994269a427eb25c