I'm trying to learn the song Under The Bridge by the Red Hot Chili Peppers. I'm running into some problems with some of the chords though. There are sections where a barre chord on the 12th fret is necessary, and my hand is hitting the body of my guitar (there is no cutaway). I'm unable to play the chord without the sound being off because I can't physically get my finger into the right place. The only way I've been able to do it is if I lift my hand up really high, but then it interrupts the flow of the song.
The chord in question
----12-12
----12-12
13--13-13
14-------
14-------
12-------
Taken from Ultimate Guitar Tabs.
How can this chord be played without buying a new guitar or interrupting the song?
To be clear - while I certainly want to know how to best play this particular chord, I also want to know how to play barre chords like this in general. So while I appreciate answers saying "don't bother, play these instead" I won't be accepting those.