Fix the error of formdesigner that can't delete