Error: “Specified argument without range of values” when resizing the mini-calendar