Attaching multiple raster tiles causes the program to crash

@pjiang9 @Kevin_Ring I wonder if the empty tiles that appear after clipping the terrain are also caused by anomalies?