Calendar popup showing dates as one day late