if not _G.ModelPreviewFrame then return end

ApplyCloseButton(ModelPreviewFrameCloseButton)

ModelPreviewFrame.TitleContainer:ClearAllPoints()
ModelPreviewFrame.TitleContainer:SetPoint("TOPLEFT", ModelPreviewFrame, "TOPLEFT", 58, 0)
ModelPreviewFrame.TitleContainer:SetPoint("TOPRIGHT", ModelPreviewFrame, "TOPRIGHT", -58, 0)

ApplyTitleBgNoPortrait(ModelPreviewFrame)
ApplyNineSliceNoPortrait(ModelPreviewFrame)

ModelPreviewFrame.Display.ModelScene.ControlFrame:HookScript("OnShow", function(self)
	self:ClearAllPoints()
	self:SetPoint("TOP")
end)