Code

fix statusbar when cancelling drawing