fixed bugs in GameGrid