Fixed the Calendar disappear bug