Deflection of Coronal Rays by Remote CMEs: Shock Wave or Magnetic Pressure?