fixed bug with focusing on a button and space doing unexpected things