clear input field after draw (closes #169)