draw - move all layers together

I have an img, I create a new layer xxx, when I zoom in, and then move around, the layout layer moves but the xxx layer stays stationary. lock does not help