fix bug №5 Tiles get flipped wrong