Fixing more Firefox-specific bugs.