moved ratio and scale_factor to screen module