Edit: After half day, my wife’s Mac started having the same problem. I have then applied the solution that I found in the Apple
Apple Release Software Update For New Macbook Pro Just 5 Hours After Release –
Earlier today at WWDC we seen Apple announce the next generation Macbook pro with a retina display. 5 hours later Apple has just released a software update for the (Mid 2012) Macbook Pro.
The update includes fixes that improve graphics stability, external display support, and USB 3 device support.
You can download it here now