Enable snapping between layers