fixes issue where middle-click didn't open header links in new tab