fix scale fit height and scale fit width