fixed bug that prevented two consecutive tile shifts in the same direction