[TileMap] Crash fixed.