Fix problem where chunks were being drawn at the incorrect location