add checkbox, avoid cursor movement to (0,0) on redraw