Fixed the render distance limiter