performance bug: vertex shader was creating huge hidden triangles