Important bugfix in grid.velocity