Added containment for sortable layers