Fixed a bug with a merging unit movement