Ensure proper focusing after toolbar clicks. Fixes #13.