improved display logic for editor layers