This avoids the possible folder tree disappearence when the main window is unmaximized. [bug #593392]