Fix the behavior of PopupDateField when changing resolution (#14174).

Change-Id: I99b325d71d9d6830349b92cc1226d6ad80066569