Restore previously selected option when updating a drop-down list.

See https://github.com/mrdoob/three.js/pull/3413