they still have dementia, they won't remember what they did before. For example, supermutants mutated more into a male build, regardless of their gender. If a girl was "transgender" before the mutation, they still wouldn't remember why they look like they do and carry on their lives as if they were never transgender.