I would guess it's related to executive function problems.
I'm exactly the same way. It's frustrating because I'm constantly having to re-do work for relatively small things that I have missed. On a few occasions I have made fairly major screw-ups. Never enough to get me fired, but there have been a couple of near misses.
I recently read "The Checklist Manifesto" by Atul Gwande in order to try to create some habits that might help me catch mistakes before I finish a job. It may be helping a bit in that I am trying to review my work before I send it out, but it's a difficult problem to solve.
I think the only thing that has kept me from burning down my apartment or locking myself out of cars and houses is my obsessive compulsive nature. I just wish I could be a bit more obsessive about work.
_________________
Never let the weeds get higher than the garden,
Always keep a sapphire in your mind.
(Tom Waits "Get Behind the Mule")