Fix datepicker on focus.