fix datepicker overlay display rule