Sergio Perez claims it was "game over" for second place in Formula 1's Chinese Grand Prix after falling behind Charles Leclerc under the safety car.