changed the way how the person sprite is selected