DModelPanel won't parent correctly

I finally found out what was wrong on my previous thread, but now I have a different problem: The DModelPanel doesn’t parent correctly, it hides behind other panels, and when I close the menu, it doesn’t go away.

local characterframe = vgui.Create( “DFrame” )
characterframe:SetParent( menupanel2 )
characterframe:SetSize( 325, 450 );
characterframe:AlignRight( 5 );
characterframe:AlignBottom( 5 );
characterframe:ShowCloseButton( false );
characterframe:SetTitle( “You” );
characterframe:SetDraggable( false );

local icon = vgui.Create( "DModelPanel", characterframe )
	icon:SetModel( LocalPlayer():GetModel() )
	icon:SetPos( 500, 150 )
	icon:SetAnimated( false )
	icon:SetAnimSpeed( 0.0 )
	icon:SetSize( 500, 500 )
	icon:SetAnimSpeed( 1 )
	icon:SetCamPos( Vector( 65, 65, 65 ) )
	icon:SetLookAt( Vector( 0, 0, 50 ) )[/lua]

Any errors? You set the parent right… so it should work. The position of the DModelPanel is incredibly crazy. It’s size is also larger then the actual frame its parented to so tone that down for now. Set the position to something like 10,10 (The DModelPanel) and see if that works. By the way, the position is relative to the position of the parented frame.

No errors, Also by default it goes to the top left corner, thats why I have a extreme position. And the size is larger because then it’s the perfect size.