Fix issue where Firefox must double click to open datepicker.