Fix multiple frames in a packet.