Adding automatic removal of focus so that input doens't block shortcuts