render.DrawSphere() clipped model in ENT:Draw() function

When creating a client side sphere around an sent, I get this error:

Here’s the ENT:Draw function in the cl_int of the sent code:
[lua]AreaWidth = 100
AreaHeight = 100
AreaRendertype = “Box”

function ENT:Draw()
self:SetCollisionGroup(2)
local ply = LocalPlayer()
if ply:IsAdmin() then
self:DrawModel()
render.SetMaterial( Material(“widgets/arrow.png”, “nocull”) )
render.DrawSphere( self:GetPos(), AreaWidth, 100, 100, Color(50, 100, 255, 255))
else
self:SetRenderMode(4)
self:SetColor(Color(0, 0, 0, 0))
end
end[/lua]

No console error messages. Any help is appreciated.

It’s not your bug - but you really shouldn’t be calling Material every frame.

Thanks Garry.

Any progress on this?

Edit: Never mind, I think the clipping issue is just due to the material I used. Kind of unfortunate though.