Fix the focus after toolbar is shown on some Linux platforms