Consider spans also for selection rectangles.