[Olena-patches] 879: Fix bug on sparse image.