Fix bug with GameOfLifeLayer