Added freehand drawing for the custom brush tool