Actually call the render function in the window update loop.