Fix bug with setting start position.