### Godot version

4.0.beta12

### System information

macOS 13.0.1

### Issue description

There seems to be an issue with the new TextureRect expand mode when loading older 4.0 files. If the TextureRect has `Ignore Texture Size` set to true I'm guessing this should be converted to the new beta12 expand mode `Ignore size` however, the TextureRect instead gets the default Keep Size, whish results in the TextureRect being resized to a new and incorrect size.

For example:
4.0.beta11 texture rect:
![Screenshot 2023-01-13 at 17 48 03](https://user-images.githubusercontent.com/17763524/212375268-3c83e917-4eda-428a-b8ac-9132cd69d9cf.jpg)

When loaded in b12:
![Screenshot 2023-01-13 at 17 48 49](https://user-images.githubusercontent.com/17763524/212375322-8a0bc607-5688-49e8-931b-8966194e159e.jpg)


### Steps to reproduce

Set a TextureRect to be scaled to some smaller size using the Ignore Texture Size setting in 4.0.b11 or earlier. 
Load the file in 4.0.b12 and observe the size has changed.

The fix seems quite simple, just changing the expand mode to Ignore Size reverts it to the correct size again, but it's a little scary when you first open the scene in the new beta and the layout looks broken.

### Minimal reproduction project

[TextureRectExpandTest.zip](https://www.lostminds.com/godot/TextureRectExpandTest.zip)
#ifndef TEXTURE_RECT_H
#define TEXTURE_RECT_H
#include "scene/gui/control.h"
class TextureRect : public Control {
	GDCLASS(TextureRect, Control);
public:
	enum ExpandMode {
		EXPAND_KEEP_SIZE,
		EXPAND_IGNORE_SIZE,
		EXPAND_FIT_WIDTH,
		EXPAND_FIT_WIDTH_PROPORTIONAL,
		EXPAND_FIT_HEIGHT,
		EXPAND_FIT_HEIGHT_PROPORTIONAL,
	};
	enum StretchMode {
		STRETCH_SCALE,
		STRETCH_TILE,
		STRETCH_KEEP,
		STRETCH_KEEP_CENTERED,
		STRETCH_KEEP_ASPECT,
		STRETCH_KEEP_ASPECT_CENTERED,
		STRETCH_KEEP_ASPECT_COVERED,