Changed scaleFactor to fit screen dimensions