Fixed ghost titlebar when starting minimized & minimized to titlebar.