Debug using the following- it will tell you which GUI is stealing focus- press F2 to see the output;
HTML Code:
//#CLIENTSIDE
function onFirstResponderChanges(obj) {
echo(format(_("Stealing Focus: %s at %f %f"), temp.obj.name, temp.obj.x, temp.obj.y));
}