One of the screws fell out of mine when it broke and caused an electrical short. My keyless entry, radio, and interior lights all went. I wasted several 7.5, 10, and even a 20 AMP fuse before I checked the moonroof console.
Take the screws out if it's broken and use the two rear clips to hold it in place until you find a replacement.
...assuming of course, the console mounts broke...