Fix for render distance