Bug fix: Firefox loses focus when clicking on toolbar