Fixed up the wall & roof & floor detection in tiles smaller than 128pixels.