Setting the winSize as soon as we create the CCDirector object to avoid race conditions