fix bug that draw twice through mode