Fixed another bug with winning layout