Added x and y coordinates to layer cells.