Fixes some faulty tile row logic in Grid.getRows()