fix focus and key events for buttons