Fix messed up display when calendar is first opened