Where do you see NSThemeFrame is in the hierarchy In Xcode 10.1 while debugging, I click 'Debug View Heirarchy' and the Heirarchy shows that NSThemeFrame is in between NSWindow and NSViewController. NSThemeFrame is not a VirtualBox object.
When I select NSThemeFrame and look at the details, it shows as below.
Object
	 Class Name:	NSThemeFrame
	 Address:	0x101a13660
View
	 Wants Layer:	Yes
	 Layer:	<_NSViewBackingLayer: 0x600000c89620>
	 Focus Ring:	Default
	 Visibility:	Not Opaque
										Not Hidden
	 Alpha:	1
	 Flipped: No
	 Drawing:	Can Draw Concurrently Off
	 Identifier:	<Null>
	 Toop Tip:	<Null>
	 Appearance:	<Null>
	 Effective:	NSAppearanceNameAqua
Accessibility
	 Descendant:	<Null>
												 Not Hidden
	 Label:	<Null>
	 Description:	<NSThemeFrame: 0x101a13660>
Hierarchy
	 NSThemeFrame
	 NSTitledFrame
	 NSFrameView
	 NSView
	 NSResponder
	 NSObject
Backtrace
	 Malloc stack logging is not enabled for this process.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: