Bug fix (unintended selection of grid cells)