diff --git a/Mac/MainWindow/Detail/DetailWebViewController.swift b/Mac/MainWindow/Detail/DetailWebViewController.swift
index 28f85df91..6d2bdb2c9 100644
--- a/Mac/MainWindow/Detail/DetailWebViewController.swift
+++ b/Mac/MainWindow/Detail/DetailWebViewController.swift
@@ -64,7 +64,7 @@ final class DetailWebViewController: NSViewController, WKUIDelegate {
 		// Wrap the webview in a box configured with the same background color that the web view uses
 		let box = NSBox(frame: .zero)
 		box.boxType = .custom
-		box.borderType = .noBorder
+		box.isTransparent = true
 		box.titlePosition = .noTitle
 		box.contentViewMargins = .zero
 		box.fillColor = NSColor(named: "webviewBackgroundColor")!