Fixes edit layer z-index problems that cause geometries to be un-selectable when 100+ layers.