mod:[history, shape drawing] add:[undo] fix:[repaint]