j/glgrid: fixed the glqextent issue