When a layer is hidden, it gets a display:none value in the style attribute. When the object moves from the hidden layer, it inherits the display:none and keeps it wherever you move it.
When a layer is hidden, it gets a display:none value in the style attribute.
When the object moves from the hidden layer, it inherits the display:none and keeps it wherever you move it.