Maybe an easier way might be the generation of a no background character. This could facilitate a better control of the character characteristics and add a more natural movement.
Separating the background generation would also allow us to better reuse our characters in different scenarios.