Added RenderComponent to draw objects in correct z-order