Every segment selector has shadow part which contains its actual base address. This hidden part is updated during segment loading instructions.
That means that before the far jump or some other instruction loading cs
has been executed, it still has the base address set in real mode and eip
offset is calculated relatively to it.
Read: Intel Software Developer Manual, vol.3, ch.3.