Fix an ASM mode table-rendering bug

This prevents an error from occurring when rendering a table with a short
first row that ends with a transparent cell.