set factor to mainScreen.scale

set factor to mainScreen.scale