Fixed bug with HeaderView DOM loading