When resizing the window and recall the function glDatePicker(), and its width and height have bugs causing the position of calender wrong.