Private CCDirector.viewportRect property.
Fixed screen mode transitions.