Fix hidden calendar becoming visible after editing.