Following a lumbar myelogram performed with a water-soluble contrast agent, the patient is kept supine with the head elevated for several hours after the procedure. What is the primary purpose of this positioning?