[Olena-patches] olena-2.0-83-gef55c70 Fix invalid line offset due to input image size.