I tend to agree with CM. try again with some sort of steady rest under your hand. it's more likely that the extra distance is exposing some sort of flinch. At 15 yards it may not manifest all that much, but at 25 yards it might. Same reason sighting in a rifle is a lot harder at 100 yards than 50 if you're starting from scratch.
25 yards is a long shot for a pistol, even the famed 1911.
We practice at 50yds on the steel at MCF&G.......I avg 7 of 8 or 9 of 10 depending on the mags. On a good day 8 for 8.
25 is a cake walk.
There could be any number of reasons for this.
We shoot 25yds off hand easily and out to 100 with the proper ammo. Not shooting groups at 100 but full size steel.
Are you using good trigger discipline.