Fixed a bug regarding chunk loading