fix dropdown click event in firefox