Fixes Firefox issue