Minor fix to overlay display, ensuring the same overlay can be opened
consecutively.