workaround for Firefox bug #908440 (at least until #996053 is resolved one way or another)