headerPosition is set null when header is destroyed