fixed off-by-one errors in TileLayer map add to world.