Attempted fixes for quads primitives.