Fix #6999 top-most node can be visibleLayers value
Merge pull request #26 from bstroebl/fix#6999

Fix #6999 top-most node can be visibleLayers value