Fix bug with WS positions.