"how can anyone make a trunklid that fits"
You copy the trunk lid and not try to fit a bad opening.
There is absolutely nothing wrong with most original trunk lids if they haven't been hit hard.
You should not be replacing an original trunk lid if it's not obviously bent or rusted on the bottom.
Get a good trunk lid and make the opening fit it. No reason the aftermarket ones don't work until proven otherwise.