Fixed inside-rectangle points finding.