bug fix for 2d hp-refinement (non-affine quads)