The 21-year-old took the overall lead in the Moto2 season standings with a narrow victory over teammate Somkiat Chantra at the Austrian Grand Prix.