Fixed time and date picker bugs on Safari