I have tried rigging the line art. but the moment I go from one layer to another it is breaking & creating gap between the line

I have tried rigging the line art. but the moment I go from one layer to another it is breaking & creating gap between the line.

After I start rigging it will break the line and creates a gap:

image