Fixed bug that caused dropdowns to not work on firefox