Minor change to setPositions