Fixed issue with font-size declaration on span element breaking the calculation. Closes #5.