Cap intermediate texture size to the size of the screen