Don't focus if link or button is clicked (bug 1065563)