[Olena-patches] 1765: Fix bgraph_image construction bug.