Support block image transfer a buffered DC to a buffered DC.
If the rect of mainwin is not set when set a graphic driver, the rect of mainwin is set to the rect of graphic driver.