Fix for KML line visibility

Fix issue where KML lines would not show/hide properly.