Perform: Adding selection for the perform layer when it is visible.