Fix a bug when closing the overview

The top bar were put in a solid after closing
the overview, now it go solid only if a window
is maximized