Explicitly set focus when the active tab changes.
Fixes #21