Clicking outside of dropdown removes select2-container-active class.

Closes #1661.