correcting tiles moves