Maybe cut down the number of pieces you are playing for a while but play those few more frequently and for longer periods daily, including playing sections repeatedly, playing one voice at a time, and playing slowly enough that nothing can go wrong?
Obviously you know the music mentally but maybe building stronger habitual connections would help.
I have had similar experiences but they seem to be specific to Bach. I have learned that if I want to play any Bach for anyone, ever, even if the stakes are very low and I learned the piece at age 10, I must spend two or three months playing the piece flawlessly at least once a day and taking it apart/putting it back together again at least once a week.
This is my routine, but it does make for an extremely limited repertoire of 3 Mozart sonatas, 3 Schubert Impromptus and 2,5 Beethoven sonatas and the odd Bach. Since my aim is not to record but to play and eventually
to record if the playing is good enough, it does mean very little progress has been made over the last years and I can no longer blame the piano, unless, of course, if this is the result of all the years when I could not practise properly.
I think there is a mental aspect which is not taken care of in the teaching of musical instruments.
I enquired at the music school where the little opera singer goes to if I might take some lessons and the answer was, "You're joking! You don't need any lessons: you have a degree!", which, of course, I do not.