texture: tileset: Fix rows/columns calculation.