Fixed bug in DatePicker attempting to create before the item is rendered in realtime scenarios.