Amateur here too.I could live with it myself because I'm a rank amateur. None of my construction is exactly perfect. But except for this one flaw, yours is perfection.
Why not muscle the errant 2X4 to where you want it and nail or screw a 2 X 4 between the hinged piece and the piece with the latch.
I told dh to build a gate . make a wood frame and attach some of the welded wire fencing.
I guess I should have told him to cut pf a pice of fencing lol. Becaus3 the hinges arw just the fence bent over lol
