Whenever I put my computer into sleep mode and wake it up it's as though my drive has been physically disconnected from my motherboard (it still gets power, though). It doesn't show up in Computer and the whole "DVD/CD-ROM drives" is missing in device manager.

If I reboot, the problem is fixed, but I prefer to put into sleep mode than to shut it down. How do I fix this?