Fixes for firefox and select.