Fixed issue with saving shipping address form after validation had previously failed.
Updated select2 code to only reposition the dropdown if the dropdown element is currently displayed.