Fix chunk rendering being slow and bad