Fix calendar events rendering issue.