fix defectproject draw bug