[linux] fix #2493: urlbar focus issue

based on d699ce8cafc0066e4174a1d282d73ad68d432566