Fixed bug when tool doesn't draw after eraser.