1
Vote
As of now, selection of the rectangle or ellipse will take entire area. So if the text or other elements are placed inside the rectangle then selection will be goes for rectangle only. Now the requirement is to give priority to elements which are placed inside the rectangle.