fix bug where rotation would sometimes cause crash
fix bug where rotation would sometimes cause crash

kriskelly/Calendar,patrickHelmedica/Calendar,kriskelly/Calendar,george-zergy/Calendar,jumartin/Calendar,norary3/DewDateCalendar,arnaudWasappli/Calendar,norary3/DewDateCalendar,Sol88/Calendar