[BUGFIX] Prevent error with DateTimePicker on IE/Edge