fixed bug when button was focused but not active