Fix up height calculation, for reals!