Fixed export --csv bug when encountering empty tiles