only hide header bits with preferences.hideHeader, fixes #979