Fix bug of loading autotiles.