Render grid by creating layer and rectangles on controller