Fixed a regression in the grid. 

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>