Adding grid to main canvas