Don't put yourself into position to border your more powerful allies. It has been true in EU 4 since day 1 (although the degree of wreckage it does has varied some) and remains so. As soon as you share a border with a bigger blob, especially a militaristic one, your land becomes "their land". At least with the current rules if you can get trust up high enough before you collide you have a chance to avoid it (although you'll still see the ai do stuff like peace out early and drop your trust below the limit).