In the real world layering isn't that strict. QUIC performs similar functions as TCP so it's also a transport protocol.