resize bug fix, win32 will callback size changed many times in one frame!