apply pencil on mousedown and mousemove. disable selected tool button