fix a bug when use multi

trigger "focus" event in focus function make chrome error: "Uncaught RangeError: Maximum call stack size exceeded"