Ferrari loses control in the rain