Fix VS Designer code generation.