LPS-31551 Making the behavior of selects equivalent between Firefox and other browsers (see https://bugzilla.mozilla.org/show_bug.cgi?id=126379)