fixed boolean on pointer and brush tool buttons