Fixed a bug where heading gets hidden.