Fix HeaderView not being hidden correctly.