Can't paint near edges with texture paint

I created a multi layer material to paint different textures with in a VT mask using the RGB channels.

In this simple cylinder shape I can’t fully paint near the edges.

This improves if I increase virtual texture resolution, but even in 4k (which I would prefer not to use), there still is a fine line of the first base material in some edges that I can’t paint on.

Is there a way to fix this?

I’ve tried: apply all transformations in blender before exporting, different seams and UV unwrapping, flip normals and none of those changes this.
Even using models from Unreal itself, like a capsule, it creates this problem in the top part.