Fixed content offset counting mistakes.