Franco Colapinto finished 13th in the Qatar Grand Prix after losing positions due to a pit stop error.