[Win32] Making sure to clean up the graphic device.