Fix retrieving the source's write offset