Fix #1128 "Opening control settings shows image attachment as required"

Also fix fr:attachment.