Add indicator of begin and the end of gestures
Fixed bugs when clicking the DrawPath without recognizing any gestures.