CRM-14621 Fixed rendering of date fields on On Behalf of profiles

----------------------------------------
* CRM-14621: Date fields not being rendered properly on "On Behalf of" Profiles
  https://issues.civicrm.org/jira/browse/CRM-14621