Weird trick for finding box corners