Fixed bug on Firefox.