Fix #223 Don't assume calendar grid origin as zero.