Use original size if it is smaller than window size