Prevent loss of focus when clicking on toolbar