Remove nesting from obj_render