make sure the initial hidden state of the legend component matches the visibility of the layer, this will prevent legends showing up after drag and drop even if the layer itself is not visible
Merge pull request #209 from bartvde/layertree-drop

make sure the initial hidden state of the legend component matches the v...