Fixed problem caused by firefox not being as good as chrome / safari