improved rect-area for selection