Implemented corresponding ShapeTool activation.

When a shape is to be modified, its corresponding ShapeTool (and
EditEngine) should now be activated for proper editing.