Draw a dotted line box around the rectangle when selected.