Fix details hover state on firefox