Fix a bug on DateTimePicker.