Revisiting the optical depth of spiral galaxies using the Tully-Fisher B relation