Update visibility on undo change to new layer