Fixed rendering issue when events were created or altered.