Fixed bug where mouse processed tools while clicking in the toolpane area.