Handled base case. Clicking on empty cells on corner of grid will open up the grid properly now.