********************************
If your XIM wouldn't work properly, try to make a file

"${HOME}/.mozilla/${USER}/*.slt/user.js"

with below content;
--
user_pref("xim.input_style", "over-the-spot")
--
********************************