Fix _display for datepicker.