The "Group with Undeposited Funds" preference does not apply in the Bank Register
The account you select in Account field is the account that is used. Even if you selected "When I Receive Money, I Prefer to Group It with Other Undeposited Funds" in the Banking view of the Preferences window, you must select the Undeposited Funds account here to apply the transaction to that account.