Fixed matching issue.

Merging gesture now works for the child and father image halves.