Bug 1061439 - Stop JS error by preventing IMEngine from interact with Glue