Restore HeaderView state.

Somehow the header view simply disappears. I'm not exactly sure why this
happens. But with this change, it will at least reappear after the
containing splitter was resized.