Charles Leclerc was caught in heavy rain and crashed into the wall before the Sprint started at the Miami Grand Prix.