Fix chunk border collision problem