This happened to me but little bit different, here are my reproduction steps:
1. Click on spectate game from one of my firends.
2. Takes too long, press cancel on bottom.
3. Queue up for game.
4. Game found, loads in.
5. Get loaded into fiends game as spectator.
6. Leave match got me banned for...