Fix click on arrows after clearing date

Reproducing bug (mainly for inline version):
1. clear date
2. click on month arrows