Bug 893973 nsIWidget::SetInputContext() should check it has focus before calling secure event input API r=smichaud