Small fixes for layer visibility
Merge remote-tracking branch 'origin/master'