fix a bug where dropdown may not reset itself in IE when used in a list