Fixed issue where facebook/twitter share popup windows weren't showing