Fixes stationaryPositions array.