Fixed bug in TileGenerator, too slow, dropping it