Fix infinite loop in character creation
