Firefox-specific fixes