Use your middle finger to bar the three strings - D,B &G, instead of using your Index, Middle and Ring fingers to fret the A major chord! Same procedure when you do the barree chords in the Key of A major! It takes a lot of practice but you can do it!!!
Now, your problem is solved!!!
Happy guitar playing!!!
Lycaean