It is probably clicking the "continue shopping" button instead of the "update cart" button when you hit return.
I think you might be able to fix it by setting the tabindex of the update cart button to be before the continue shopping button, or you could move the update cart button before it in the code as well. I think it happens because the first button after the form element where you are clicking return is the continue shopping button.