[[ Bug 11324 ]] Make sure drawborder() and draw3d() don't draw anything ...

...if the borderwidth is 0.