Fix offste calculation problem when using overflow parent