Fixed bug in GridTile.createMegaTile