It looks like we don't change the height if `duration === 0`.