fix selectbox behavior for firefox