Exact same story here. Had a 45 XDS, couldn't group with it like I wanted.Another vote for the Sig p938 here. Front strong pant pocket. Nothing else rides with it. Thing shoots straight for me. I don't carry a pistol if I can't hit the middle of a target with it at the range. Tried an XDS in .45acp and really liked it. Except, it didn't shoot straight in my hand. Always low left and I quit trying to make it work for me after a couple of years. Only pistol I've struggled to shoot.
Bought a 938. Shoots great. Conceals easier than anything else I own. Lots of confidence in this gun too!