Fix bug when moving bounding boxes. It creates a new object for each new position