Grid lines: fixed toggle issue so the toggle button no longer deletes the layer