Bug 1051850 - Do not translateElement if ctx is not ready

https://bugzilla.mozilla.org/show_bug.cgi?id=1051850