Fixed .grid method on ViewMap for GridLayouts