Fixed weird flipping when moving tiles on the first row