Fixed an issue on Firefox.