Let drawTriangles be cached too