Fixed line number bug for Firefox