On a couple of my guitars I have to shift my barr finger further out bescause I have long skinny fingers the joint tends to come right where the string is.
I have tried rolling my finger more but then get a problem with another string. so I just push my finger up towards the top of the guitar more.
it only happens on realy narrow necks. on wider necks no problem.