pass in ratio for mouse snap to screen