fixed global updatePositions, closes #1