Merge "Fix: Wrong condition to detect selection shrink."