     window.titleVisibility = .visible
     window.styleMask.remove(.fullSizeContentView)
 
-    self.set(repUrl: window.representedURL, themed: false, grow: false)
+    self.set(repUrl: window.representedURL, themed: false)
 
     contentView.addSubview(self.root)
     self.root.autoPinEdgesToSuperviewEdges()
 
     if !dueFullScreen {
-      if self.titlebarThemed {
-        self.growWindow(by: -22)
-        let dy = prevFrame.origin.y - window.frame.origin.y
-        if dy != 0 {
-          window.setFrame(window.frame.offsetBy(dx: 0, dy: dy), display: true, animate: false)
-        }
-      }
-
+      window.setFrame(prevFrame, display: true, animate: false)
       self.titlebarThemed = false
     }
   }

    self.window?.title = url?.lastPathComponent ?? "Title"
  }

  fileprivate func set(repUrl url: URL?, themed: Bool, grow: Bool) {
    guard let window = self.window else {
      return
    }

      return
    }

    let prevFrame = window.frame

    self.clearCustomTitle()

    window.titleVisibility = .visible
