border selected. I changed the test to this: if(R.r.border.xmax <= R.r.border.xmin || R.r.border.ymax <= R.r.border.ymin) { Original patch tested xmin=0 which isn't quite right. Kent