Implemented functionality to disable the rendering of chunks offscreen