Fixed the Reset and regenerate randomly the position of a body if this goes to a corner