Ronaldo scores diving header but hurts shoulder