fix spacebar not working during password entry. needs testing.