China's sell-off affects global markets