Fix firefox bug to do with Components in global namespace