Use a <span> tag instead of <img> tag to calculate text baseline to fix Firefox occassionaly not calculating image position accurately.