I have a similar problem where masking wasn't aligning, but I was using a XYZ after the displacements for the surface shader. It boggled my mind. I tried everything including piping the mask through the displacements shaders rather than straight from the SSS, but no go... than I tried world position, no go, so I unchecked it... than suddenly, it matched up... just with with the Transform input shader with no settings or world position checked... I don't get it. What does a Transform input shader do when nothing is checked, that would fix this?