[Olena-patches] milena r1167: Sparse_image fix