I don't follow, why call the resize func when setting a window size callback?