fixed 'Types' toolbar button focus problem