draw: reset the vertex id when injecting new primitive id