Added tile depression logic