key_commit: tweak to fix focus after barcode scanning