Correct implementation of auto-anchored selection.