for firefox: border added when tool is selected