TODO added, changes in Grid.js:getCanvasHeight()