Improved header hide filter

Now image can be used as remove label. Header is correctly hidden only
when there are no inputs left.