Correct bug in attachment behaviors