To get the rectangle to hide some of the text, make its z-order higher.
When you click on a window it is brought to the top of the z-order so that you can see it.
... we should go by case-by-case in order to examine: does this make sense? ...
... in order to heal? ...