It wasn't just those few weeks in June. Their first time pass rate, on weekly, monthly, and quarterly basis is really bad compared to other OEMs. A large part of the reason they have a repair parts shortage is because spare parts that would go to existing customers are instead being used to repair newly-built cars before they leave the factory.
Tesla's gotten better at managing their first-time pass rates, but they're still close to the bottom compared to their peers.