Fixed the Tile Out Of MapBounds Error