Fixed datepicker clicking not working