resolve issue #9. improve focus effect for ui components