Fix inversion error in height() call.