Click event of a Button in the HeaderTemplate is not fired properly when another button outside the tab has IsDefault property set to true