Same fix for calcAbsoluteVerticalValues().