Bug Fix in TileMap