Fixed bug with not-moving grid.