Fix for firefox on os x