fix(ionHeaderBar): have no side effects with content in other views

Closes #1095