Fire shapeClicked and doAction.