Remove a HasFocus() test introduced in 3fed7d8

This caused UpdateUI problems