Screen flickering with 2009 Mac Mini: overheating issue?
I have the same model Mini and have found it to be extremely sensitive to temperature.  You're lucky you didn't permanently damage yours by keeping it in a drawer.  It needs to be out in the air with good clearance around it so that the fan can draw air through.