unpress keys when losing focus