Fixed a bug #2405
Merge pull request #1001 from ivan-korolev:fix_stitching_bug_2405