Workaround Firefox double request bugs