using model as directbutton has rendering holes?

Same model I’m using in my scene. A dice model.

It renders fine in the scene, but using it as a directbutton doesn’t look right.

There are holes (where the dots are) that don’t render.

How can I fix this?

Try enabling depth testing and depth write.

Thanks!