Now, we handle drawing of grid and flags overlays.