DScrollPanel and DIconLayout, content goes outside the box

Hi,

this image shows the problem:

What can I do to make them not go outside the box?

I use these:
[lua]
_dpanels[ 2 ] = vgui.Create( “DScrollPanel”, _dframes[ 0 ] );
_dpanels[ 3 ] = vgui.Create( “DIconLayout”, _dpanels[ 2 ] );
_a = _dpanels[ 3 ];
– both of these have their SetPos, SetSize, the DIconLayout has SetSpace but nothing else so there’s no need to show that code

for i = 1, 50 do
	local _item = _a:Add( "DModelPanel" );
	_item:SetSize( 120, 120 );
	_item:SetModel( LocalPlayer():GetModel() );
	_item.useButton = vgui.Create( "DButton", _item );
	_item.useButton:SetSize( 120, 120 );
	_item.useButton:SetPos( 0, 0 );
	_item.useButton:SetText( "" );
	_item.useButton.DoClick = function()
		
	end;
	
	_item.useButton.Paint = function()
		draw.RoundedBox( 0, 0, 0, _item.useButton:GetWide(), _item.useButton:GetTall(), Color( 0, 0, 0, 0 ) )
	end;
end

[/lua]

Try taking a look at http://wiki.garrysmod.com/page/render/SetScissorRect