Fixed bug of brush size 0.