Fixed triangle rendering.