fix win32 maxmize issue.