Xpresspost calculates the maximum dimensions as Length + Girth. Tracked Packet calculates it as L+W+H. Someone a number of years ago never programmed the warning correctly for tracked packet and it's never been fixed. eBay has been informed by many of us multiple time about this issue.
Long story short, ignore the warning as long as you're positive you're under the maximum sizes AS INDICATED BY CANADA POST. They're the ones that will fine you if you're over, not eBay.