Perfect race after troubled weekend for Márquez