Fixed bug with focusing on datepicker.

-Fixed bug which occured when buring from input and focusing on calendar