Correct IBO index calculation for quads.