Fixed assigning random positions