Problems with rigging - disappearing elements

Elements are disappearing when I’m trying to attach them to main bones. Do you know how to solve the problem?