Added depth buffer support to fix issues with verts overriding each other..