Fix the bug of the tool used not being the one selected
Fix the bug of the tool used not being the one selected

calemany/ArtMobilis-js-editor,artmobilis/ArtMobilis-js-editor,artmobilis/ArtMobilis-js-editor,calemany/ArtMobilis-js-editor