Replace screen scale with contentScaleFactor.