[Pani] Possible fix for date picker not working on windows