Fixing issue #3: calibrateHeight should not try to calibrate if there are no items