Fix issue causing page to jump when closing date/time picker