fixed seam error when inverting height