Fixed small bugs in focus event implementation

Wrapped listener callbacks in Em.run()