Why the text typed is not showing properly in FireFox?