Fixes datetimepicker does not always appear on input focus