Debug indexed elements drawing.
Cleanup.