Made position work properly for PacketStream.