Fixed a rare glitch seen when handling narrow passages in the soft edges detection.