Fix possibility to select layers to join