Yes, its longer than the opening (because the post was not in line with the opening and I didn't want it to swing through the other way), yes, the post is not level, yes, I should probably not have used an existing fence post, no, I will not be fixing it. But look at the fit on the diagonal. MINT
Your diagonal is correct. I can't even count the times I've seen a diagonal the wrong way round. (Upperleft to lower right). It's remarkable if you pay attention. And than they wonder why their door starts hanging after a few weeks.