Correct minor issues in tile loading.