Overlay templates Where not supposed to

Hi.
While switching tabs in the client it seems it gives template overlay where it’s not supposed to.
while clicking on the designer the overlay is gone