I think I just thought of a new product that's needed (may exist) but that I have not seen.

A box template with a level and center marks. Stick it up there, center and level and mark your box opening. I'm sure that carpenters and cabinet people could still screw it up but they would get a lot closer than they do now.