Fix error when user drags date range selection outside the day area