Fixed problem with displaying callendar grid