Remove triangleView from all optimizer. This fixed a small bug in CG
optimizer.