Fixes innerText issue in Firefox