Problem rendering quads

It was the Z position of vertices, indeed.

Thank you.